package com.chaoXing.work3.wor3_3;

import java.io.IOException;

public class Collection {
    private Dao dao;

    public Collection(Dao dao) {
        this.dao = dao;
    }

    public void save(Object o) throws IOException {

        dao.saveDate(o);
    }
}
